changed scripts to the bottom of the html