diff --git a/samples/kotlin/pom.xml b/samples/kotlin/pom.xml
index ee1774b45..c1e22571b 100644
--- a/samples/kotlin/pom.xml
+++ b/samples/kotlin/pom.xml
@@ -30,7 +30,7 @@
A sample application written in Kotlin and compiled by TeaVM
- 0.11.91.1
+ 1.0.1-2
diff --git a/samples/kotlin/src/main/kotlin/Hello.kt b/samples/kotlin/src/main/kotlin/Hello.kt
deleted file mode 100644
index 7c7092d2c..000000000
--- a/samples/kotlin/src/main/kotlin/Hello.kt
+++ /dev/null
@@ -1,14 +0,0 @@
-package org.teavm.samples.kotlin
-
-import org.teavm.jso.*
-import org.teavm.jso.browser.*
-import org.teavm.jso.dom.html.*
-import org.teavm.jso.dom.events.*
-
-fun main(args : Array) {
- var document = Window.current().getDocument();
-
- document.getElementById("hello-kotlin").addEventListener("click", EventListener() {
- Window.alert("Hello, developer!");
- })
-}
diff --git a/samples/kotlin/src/main/kotlin/org/teavm/samples/kotlin/Hello.kt b/samples/kotlin/src/main/kotlin/org/teavm/samples/kotlin/Hello.kt
new file mode 100644
index 000000000..4364e19c8
--- /dev/null
+++ b/samples/kotlin/src/main/kotlin/org/teavm/samples/kotlin/Hello.kt
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2016 Alexey Andreev.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.teavm.samples.kotlin
+
+import org.teavm.jso.browser.*
+
+fun main(args : Array) {
+ val document = Window.current().document;
+
+ document.getElementById("hello-kotlin").addEventListener("click") { Window.alert("Hello, developer!") }
+}
diff --git a/samples/kotlin/teavm-samples-kotlin.iml b/samples/kotlin/teavm-samples-kotlin.iml
index 170e5cb3c..da681ff4e 100644
--- a/samples/kotlin/teavm-samples-kotlin.iml
+++ b/samples/kotlin/teavm-samples-kotlin.iml
@@ -22,8 +22,8 @@
-
-
+
+