diff --git a/libraries/examples/browser-example-with-library/pom.xml b/libraries/examples/browser-example-with-library/pom.xml
index 3cbd3741aca..af2afb1ef1b 100644
--- a/libraries/examples/browser-example-with-library/pom.xml
+++ b/libraries/examples/browser-example-with-library/pom.xml
@@ -26,13 +26,13 @@
${project.version}
+
org.jetbrains.kotlin
kotlin-stdlib
${project.version}
+ test
-
-
org.seleniumhq.selenium
selenium-java
@@ -90,14 +90,14 @@
org.jetbrains.kotlin
kotlin-js-library
${project.version}
- ${project.build.directory}/js
+ ${project.build.directory}/js/lib
*.js
org.jetbrains.kotlin
kotlin-js-library-example
${project.version}
- ${project.build.directory}/js
+ ${project.build.directory}/js/lib
*.js
diff --git a/libraries/examples/browser-example-with-library/sample.html b/libraries/examples/browser-example-with-library/sample.html
index 8b9fa333d20..0c3cf97a246 100644
--- a/libraries/examples/browser-example-with-library/sample.html
+++ b/libraries/examples/browser-example-with-library/sample.html
@@ -9,8 +9,8 @@
-
-
+
+
+
+ org.jetbrains.kotlin
+ kotlin-stdlib
+ ${project.version}
+ test
+
org.seleniumhq.selenium
selenium-java
@@ -34,11 +40,6 @@
${selenium.version}
test
-
- org.jetbrains.kotlin
- kotlin-js-library
- ${project.version}
-
@@ -58,13 +59,6 @@
js
-
- compile
- compile
-
- compile
-
-
test-compile
test-compile
@@ -91,7 +85,7 @@
org.jetbrains.kotlin
kotlin-js-library
${project.version}
- ${project.build.directory}/js
+ ${project.build.directory}/js/lib
*.js
diff --git a/libraries/examples/browser-example/sample.html b/libraries/examples/browser-example/sample.html
index 869440d86c5..f8c59c90eaf 100644
--- a/libraries/examples/browser-example/sample.html
+++ b/libraries/examples/browser-example/sample.html
@@ -9,7 +9,7 @@
-
+