Implementing $.fn.off polyfill