Moved the <script>s to the bottom of the page