I would have left these vars inside the done() handler so they can't be referenced outside when it may not have been run yet, but I'm ok with the patch as-is