Update app.js

Corrections to app.js