diff --git a/scp/js/upgrader.js b/scp/js/upgrader.js
index a10c02626b92fcb6a87680bcabe9c699a627d9a6..831337926e0689f31f1389d7db96a968da89729b 100644
--- a/scp/js/upgrader.js
+++ b/scp/js/upgrader.js
@@ -27,6 +27,13 @@ jQuery(function($) {
       });
 
     function autoUpgrade(url, data) {
+
+        if (!$.isFunction('__')) {
+          function __(s) {
+                return s;
+          }
+        }
+
         function _lp(count) {
             $.ajax({
                 type: 'POST',