Added Array.forEach() support for IE7 and IE8.