Update WebSocket.js

Issue #21