Update isFunction.js