Reintroduce the custom forEach implementation for older versions of IE which we sadly still support.