Improve Spidermonkey compatibility w.r.t. Iterator built-in object