moved scripts to the bottom of the page