put javascripts to top