rearranges application.js