move js back to top of application layout