Fix ajax violation on Firefox
Speed-up worker.postMessage