Apply fix to bench_test3.js to jsCore version
(cherry picked from commit 9d359723b373e6ca31bbd353f5d3add44777c9a3)