Testing websocket with nodejs and HTML5