Fleshed out websocket html/js example file