Small bug fix in server.js