diff --git a/layouts/simple_world/layout.js b/layouts/simple_world/layout.js
index 4c12e971b..2b204151d 100644
--- a/layouts/simple_world/layout.js
+++ b/layouts/simple_world/layout.js
@@ -1,4 +1,4 @@
-$(function()
+jQuery(function($)
{
"use strict";
diff --git a/modules/admin/tpl/config_domains.html b/modules/admin/tpl/config_domains.html
index 385c8d07d..95eacf115 100644
--- a/modules/admin/tpl/config_domains.html
+++ b/modules/admin/tpl/config_domains.html
@@ -110,7 +110,7 @@
diff --git a/modules/admin/tpl/js/notification_config.js b/modules/admin/tpl/js/notification_config.js
index a7dbb9259..4550e5b65 100644
--- a/modules/admin/tpl/js/notification_config.js
+++ b/modules/admin/tpl/js/notification_config.js
@@ -79,4 +79,4 @@
});
-} (jQuery));
+})(jQuery);
diff --git a/modules/advanced_mailer/tpl/js/config.js b/modules/advanced_mailer/tpl/js/config.js
index 15ef43849..9c69b13bd 100644
--- a/modules/advanced_mailer/tpl/js/config.js
+++ b/modules/advanced_mailer/tpl/js/config.js
@@ -48,4 +48,4 @@
});
-} (jQuery));
+})(jQuery);
diff --git a/modules/advanced_mailer/tpl/js/spf_dkim.js b/modules/advanced_mailer/tpl/js/spf_dkim.js
index a6b4597b1..f5d6f4a9b 100644
--- a/modules/advanced_mailer/tpl/js/spf_dkim.js
+++ b/modules/advanced_mailer/tpl/js/spf_dkim.js
@@ -40,4 +40,4 @@
});
-} (jQuery));
+})(jQuery);
diff --git a/modules/advanced_mailer/tpl/js/view_log.js b/modules/advanced_mailer/tpl/js/view_log.js
index db0bc021c..241635b67 100644
--- a/modules/advanced_mailer/tpl/js/view_log.js
+++ b/modules/advanced_mailer/tpl/js/view_log.js
@@ -12,4 +12,4 @@
});
-} (jQuery));
+})(jQuery);
diff --git a/modules/editor/skins/ckeditor/editor.html b/modules/editor/skins/ckeditor/editor.html
index 46bf879db..7d12e3027 100644
--- a/modules/editor/skins/ckeditor/editor.html
+++ b/modules/editor/skins/ckeditor/editor.html
@@ -45,7 +45,7 @@ var auto_saved_msg = "{$lang->msg_auto_saved}";