Update server.js

to support express 4.0