Fix JSBench which causes math domain error in run-benchmark script.