Move scripts to the bottom and...

...fix the double script tag embed for jQuery.