Fixed forEach not supported in IE7, IE8

As title.