a WebWorker polyfill using CocoonJS WebView