moving scripts to the bottom of the page