Cleaned up JS on the Index and About pages

I've moved the js files to the bottom of the page look at the commit messages for more details.
Also neatened and removed unnecessary code.