Moving js to its own file
Merge pull request #1 from boccobrock/master

Moving js to its own file