added re-usable JS test runner
Merge pull request #1071 from wilmoore/js-test-runner

JavaScript test runner