Moved the javascript to the bottom.