Modified socket.io code in app.js file. few changes in /public/index.html