correcting server.js file