fixed app.js for socket.io and passed it server