Set jQuery object as context of `revertIf` call

This allows custom implementations of `revertIf` to reference the
current selection without relying on an externally-scoped reference.