Add name to groupEnd call. Fixes #26.
Merge branch 'master' into geezer

Also fix bad calls to Array#forEach which does not exist in old IE