add code to navigation page, and minor formatting tweak to app.js