jQuery.each instead of Array.forEach for oldIE