diff --git a/package.json b/package.json
index df8882ed..87dbed40 100644
--- a/package.json
+++ b/package.json
@@ -63,6 +63,7 @@
"through": "2.3.8",
"uglifyify": "5.0.1",
"utf8": "^3.0.0",
+ "webworkify": "^1.5.0",
"ws": "6.2.1",
"yargs": "13.2.2"
},
diff --git a/src/client/app/widgets/utils.js b/src/client/app/widgets/utils.js
index e2d3ee26..b4aecd33 100644
--- a/src/client/app/widgets/utils.js
+++ b/src/client/app/widgets/utils.js
@@ -117,7 +117,7 @@ module.exports = {
// block requests
sandbox.contentWindow.document.open()
- sandbox.contentWindow.document.write(``)
+ sandbox.contentWindow.document.write('')
sandbox.contentWindow.document.close()
// init infinite loop guard
@@ -129,9 +129,7 @@ module.exports = {
var _Function = sandbox.contentWindow.Function,
- parsers = {},
- timeouts = {},
- intervals = {}
+ parsers = {}
sandbox.contentWindow.console = console
sandbox.contentWindow.global = {}
@@ -164,7 +162,7 @@ module.exports = {
var ret, err, k
var __VARS = {}
- for (var k in context) {
+ for (k in context) {
var index = contextKeys.indexOf(k)
if (index !== -1) {
contextValues[index] = context[k]