fix the CSP error in the helpers.isFunction test
Merge pull request #4051 from mozilla/issue-4050-csp-failure

fix the CSP error in the helpers.isFunction test

fixes #4050