Update index.html

Initial changes to code for html5 websocket support