Improving $.fn.share()