QUnit, optimization