tidied up app/js/app.js