Small changes to server.js file