allow benchmarks to run under Node.js