Update server.js

to support express4