Added jquery function definition using $.fn instead of just $.extend.

Method can be called by $(someId).anchorTo(), $(someId).anchorTo(timeInMS), $(someId).anchorTo(timeInMS, callback)