Changed javascript to run onload so it actually gets to the body element