Adding the ability specific a custom function to call when done, this helps with qunit