Detect generators in Firefox 2.0 - 4.0
(missing Function.prototype.isGenerator())