add benchmark.js for tests
make jshint happy