moved JS file

I finally figured out how to link Javascript, you need to set it as a
function and call the function.