Reorganize app.js because omg.