Support Chrome CSP’s without unsafe-eval

By using a different check for existence of SpiderMonkey generators
instead of existence of ES6 generator syntax support.

Fixes #480