app.js cleanup

I think a few line breaks make it much more readable.