move javascript to the bottom of the page