Update app.js (to be the same as in dev-server)