diff --git a/lib/generators/webstarterkit/web/scripts/main.dart b/lib/generators/webstarterkit/web/scripts/main.dart
index 15f3a74a0c96afd38464785a2fd2cbb90bfc3bcc..ec365cde8f7e5b896b62c7258bfee2f883cdbe50 100644
--- a/lib/generators/webstarterkit/web/scripts/main.dart
+++ b/lib/generators/webstarterkit/web/scripts/main.dart
@@ -1,5 +1,9 @@
 import 'dart:html';
 
+main() {
+  initWsk();
+}
+
 initWsk() {
   var navdrawerContainer = querySelector('.navdrawer-container');
   var appbarElement = querySelector('.app-bar');
@@ -27,7 +31,3 @@ initWsk() {
     }
   });
 }
-
-main() {
-  initWsk();
-}
\ No newline at end of file