Updated websocket.js.