Create websocket.js