small fix with websocket java script