fix the CSP error in the helpers.isFunction test

@seanmonstar - mind reviewing?