Fixed test suite and vc query integration
diff --git a/dev/js/src/util.js b/dev/js/src/util.js
index 7c2f474..f17ec2a 100644
--- a/dev/js/src/util.js
+++ b/dev/js/src/util.js
@@ -1,3 +1,5 @@
+window.KorAP = window.KorAP || {};
+
// Don't let events bubble up
if (Event.halt === undefined) {
// Don't let events bubble up
@@ -35,7 +37,9 @@
define(function () {
+ // Todo: That's double now!
KorAP.API = KorAP.API || {};
+ KorAP.Locale = KorAP.Locale || {};
var loc = KorAP.Locale;
loc.OR = loc.OR || 'or';