fixing style issues in server.js