This is essentially a wrapper around jquery() command.
Following three commands are doing exactly same:
hat.wait(".some .xpath");hat.jquery(".some .xpath",function() {});hat.jquery(".some .xpath");