Better index.html
Add a bunch of code
Assume utf-8 encoding for the server

Socket.io already sends all messages encoded in utf-8