$.fn.off patch fix