Modified server.js