The Web Worker crashes at the following line: ``` module.exports = window.WebSocket || window.MozWebSocket ``` this is probably a bug at https://github.com/maxogden/websocket-stream, because a Web Worker has no global window object.