fix wrong usage of each on object
Merge pull request #431 from lloiser/stopBrowserBehavior

fix wrong usage of each on object