Minor simplification of benchmark common.js
Make benchmark async

Real apps don't spin in a blocking loop