Use $.each instead of [].forEach to avoid distracting reviewers

It's fine to use forEach here, but between forEach + comment & just using
$.each, I'd prefer the latter.

Change-Id: I5c4ecca9878f40afa476f5425afce035487973fb