make JS tests run again
fix gitignore
Merge pull request #5 from wilmoore/fix-js-tests

Make JS test suite pass again.