Update app.js

Make all non-existing pages redirect to index route