Update WebSocket.js