Moved Javascript to the bottom of the page for performance reasons