Updated server.js configuration as per express v.4.0