w2v-server: fix serving of static js files
diff --git a/templates/index.html.ep b/templates/index.html.ep
index 41d391e..c9a2324 100644
--- a/templates/index.html.ep
+++ b/templates/index.html.ep
@@ -18,9 +18,9 @@
 	   })
     </script>
 	  <script src="//d3js.org/d3.v3.min.js" charset="utf-8"></script>
-	  <script src="/word2vec/js/tsne.js"></script>
-	  <script src="/word2vec/js/som.js"></script>
-	  <script src="/word2vec/js/labeler.js"></script>
+	  <script src="/derekovecs/js/tsne.js"></script>
+	  <script src="/derekovecs/js/som.js"></script>
+	  <script src="/derekovecs/js/labeler.js"></script>
     <style>
      body, input {
 	     font-family: Arial, sans-serif;
diff --git a/w2v-server.pl b/w2v-server.pl
index 3cb6aa3..c76855c 100755
--- a/w2v-server.pl
+++ b/w2v-server.pl
@@ -72,7 +72,7 @@
   filter_garbage();
 }
 
-get '/derekovecs/js/*' => sub {
+get '*/js/*' => sub {
 	my $c = shift;
 	my $url = $c->req->url;
 	$url =~ s@/derekovecs@@g;