Moving scripts to end of html