Moved all my JavaScript to a file than leave it in the HTML page.