move app.js to top of layout