Moves scripts to end of body tag