This should call the callback immediately if `YUI` is already defined.