fix $.isFunction in Nitro/V8

$.isFunction returns ture for a RegExp in  Nitro/V8.
Think about fix the problem in this way?