put all the javascript at the bottom of the page