modified server.js