Altered server.js