Move javascript from template to js file
Merge pull request #10 from lfritts/front-end

Move javascript from template to js file