fixed index.html, sped up sockets a bit in index.js