Move JS out of HTML and into own folder