Add sample websocket client in javascript.