Gah.
Merge pull request #2 from colefichter/adding_javascript_unit_tests

Gah.