index.html changes to use socket.io
client chagnes