New version

Moved location of JS to bottom of file. Probably more stuff but I don't know.