moving scripts to bottom of page