cleaned up app.js for uniform indents