chat app using HTML5 web socket