diff --git a/non_amd.html b/non_amd.html
old mode 100644
new mode 100755
index 5028034fd..614663538
--- a/non_amd.html
+++ b/non_amd.html
@@ -47,7 +47,8 @@
-
+
+
diff --git a/src/converse-muc.js b/src/converse-muc.js
old mode 100644
new mode 100755
index 385b4b3df..47e2f1f2b
--- a/src/converse-muc.js
+++ b/src/converse-muc.js
@@ -19,7 +19,7 @@
// In this case, the dependencies need to be available already as
// global variables, and should be loaded separately via *script* tags.
// See the file **non_amd.html** for an example of this usecase.
- root.converse = factory(converse, utils);
+ factory(converse, utils);
}
}(this, function (converse_api, utils) {
// Strophe methods for building stanzas
diff --git a/src/utils.js b/src/utils.js
old mode 100644
new mode 100755
index 6e588d051..06883e812
--- a/src/utils.js
+++ b/src/utils.js
@@ -1,9 +1,9 @@
-/*global jQuery, templates, escape, Jed, _ */
+/*global jQuery, templates, escape, Jed, _, locales */
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
define(["jquery", "underscore", "converse-templates", "locales"], factory);
} else {
- root.utils = factory(jQuery, _, templates);
+ root.utils = factory(jQuery, _, templates, locales);
}
}(this, function ($, _, templates, locales) {
"use strict";