Use Array#forEach instead of for .. in

Also improved the wording in a few places.