Update server.js

Warning: express.createServer() is deprecated, express
applications no longer inherit from http.Server,
please use: