Changes to server.js