Make image-diff Closure-compileable

Change-Id: I6efa64e50dec272ed43b713b4824402cba72ba65
diff --git a/gr-resemble-diff-mode/gr-resemble-diff-mode.js b/gr-resemble-diff-mode/gr-resemble-diff-mode.js
index 1bce2ee..1160bc5 100644
--- a/gr-resemble-diff-mode/gr-resemble-diff-mode.js
+++ b/gr-resemble-diff-mode/gr-resemble-diff-mode.js
@@ -36,7 +36,7 @@
     ],
 
     attached() {
-      resemble.outputSettings({
+      window.resemble.outputSettings({
         errorType: 'movement',
         largeImageThreshold: 450,
       });
@@ -65,7 +65,7 @@
     },
 
     _createDiffProcess(base, rev, ignoreColors) {
-      const process = resemble(base).compareTo(rev);
+      const process = window.resemble(base).compareTo(rev);
       return this._maybeIgnoreColors(process, ignoreColors);
     },