"use strict";
console.log("starting");
var app = {};

(function (app) {
    app.pageDeleted = $("div.container.deleted").length > 0;
}(app));


require("./cookies");
require("./translate");
require("./modal");
require("./identify-user");
require("./message");
require("./focus-contenteditable");
require("./enable-link-clicking");
require("./ckeditor-wiki-links");
require("./ckeditor-initialize");
require("./progress-bar");
require("./dropzone");
require("./handle-xhr-errors");
require("./upload-attachments");
require("./upload-images");
require("./delete-image");
require("./highlight-code");
require("./move-page");
require("./cover-image-loader");
require("./language-switcher");
require("./page-actions");
require("./resize-iframe");

@@ -36,12 +36,15 @@
 %22);%0A
-var 
+window.
 app 
@@ -54,30 +54,8 @@
 %7D;%0A%0A
-(function (app) %7B%0A    
 app.
@@ -111,17 +111,8 @@
  0;%0A
-%7D(app));%0A
 %0A%0Are

fix reference error