sets up the get global and adds $.fn.refresh

$.fn.refresh updates the stored jquery object as when stored it could be
to new or missing parts.