Move assets to /kalamar, although this kills the old deployment. I don't care for the moment.
diff --git a/public/js/translateTable.js b/public/js/translateTable.js
index de3e075..0990622 100644
--- a/public/js/translateTable.js
+++ b/public/js/translateTable.js
@@ -208,7 +208,11 @@
   var corpusID = match.getAttribute('data-corpus-id');
   var docID    = match.getAttribute('data-doc-id');
   var matchID  = match.getAttribute('data-match-id');
-  var url      = '/corpus/' + corpusID + '/' + docID + '/' + matchID;
+  var url = '';;
+  if (document.location.pathname.indexOf('kalamar') >= 0) {
+    url = '/kalamar';
+  };
+  url += '/corpus/' + corpusID + '/' + docID + '/' + matchID;
   var snippet;
 
   Ajax.getJSON(url, function (res) {
diff --git a/public/js/tutorialCookie.js b/public/js/tutorialCookie.js
index 31741a0..ecf39b2 100644
--- a/public/js/tutorialCookie.js
+++ b/public/js/tutorialCookie.js
@@ -28,7 +28,12 @@
     c_start = c_value.indexOf(pc + "=");
   
   if (c_start == -1) {
-    c_value = '/tutorial?embedded=1';
+    if (document.location.pathname.indexOf('kalamar') >= 0) {
+      c_value = '/kalamar/tutorial?embedded=1';
+    }
+    else {
+	c_value = '/tutorial?embedded=1';
+    };
   }
   else {
     c_start = c_value.indexOf("=", c_start) + 1;