Adjustments for subdirectory serving (4)
diff --git a/templates/layouts/main.html.ep b/templates/layouts/main.html.ep
index aeeb186..628fc45 100644
--- a/templates/layouts/main.html.ep
+++ b/templates/layouts/main.html.ep
@@ -34,7 +34,7 @@
     </footer>
     % };
 
-%= javascript stash('prefix') . ' /js/' . loc('jsFile', 'kalamar-' . $Kalamar::VERSION . '-en.js')
+<script src="<%= stash('prefix') . ' /js/' . loc('jsFile', 'kalamar-' . $Kalamar::VERSION . '-en.js') %>"></script>
 %= javascript begin  
   window.KorAP = window.KorAP || {};
   % my $api = url_for('index')->to_abs;