removed extra event in websocket.js