Fixes for Web Workers.