Update app.js

express.createServer() is deprecated, express
applications no longer inherit from http.Server,
please use:

  var app = express();