Update server.js

added socket.io