Created a main javascript file

Made a file named javascript.js that has all our functions in it so they
aren't strewn about index.html