Fixed API/globalvar bug for ajax data retrieval
diff --git a/dev/js/src/api.js b/dev/js/src/api.js
index f9058bc..82f1062 100644
--- a/dev/js/src/api.js
+++ b/dev/js/src/api.js
@@ -11,7 +11,6 @@
   KorAP.API = {
     getMatchInfo : function (match, param, cb) {
       // match is a KorAP.Match object
-
       var url = KorAP.URL;
       url += '/corpus';
       url += '/' + match.corpusID;
diff --git a/dev/js/src/util.js b/dev/js/src/util.js
index f3df4fc..98d3ddb 100644
--- a/dev/js/src/util.js
+++ b/dev/js/src/util.js
@@ -1,4 +1,4 @@
-var KorAP = KorAP || {};
+window.KorAP = window.KorAP || {};
 
 // TODO: Make this part of util!
 // Don't let events bubble up