Moved the JavaScript to the bottom.