Adding support for jQuery object equality