Clean up whitespace and indentation

I cleaned up the `app.js` file to make it easier to read