Javascript performance testing utility