slight updated to server.js