update app.js for new views