Move app.js to end of body