moves scripts to bottom of html