Replace instances of $.isFunction(func) with typeof func === "function"
Replace instances of $.isFunction(func) with typeof func === "function"