Various changes.

* Moved javascript back into the onload portion
* Moved script references to bottom of page