update when.js in benchmark