another update to server.js