Adds useful API to jQuery.