Updated server.js file for express 4