reordered app.js and default ordering