Write some javascript performance test using benchmark.js