Replace forEach with for condition to support IE8

forEach is not available in IE8 and broke the Mutliplaylist
multiRequest