fixed naming issue in server.js