Add promise and qunit.