reindent app.js