Replace a couple of `Array.prototype.forEach`-invocations with `for..of` instead
Replace a couple of `Array.prototype.forEach`-invocations with `for..of` instead

Given that `NodeList`s can be iterated using `for..of` we can use that instead, since it's a little bit nicer and easier to read than the `Array.prototype.forEach` format.

showpad/mozilla-pdf.js,timvandermeij/pdf.js,timvandermeij/pdf.js,Shoobx/pdf.js,showpad/mozilla-pdf.js,Shoobx/pdf.js,Snuffleupagus/pdf.js,macroplant/pdf.js,Snuffleupagus/pdf.js,Snuffleupagus/pdf.js,nawawi/pdf.js,timvandermeij/pdf.js,mozilla/pdf.js,showpad/mozilla-pdf.js,macroplant/pdf.js,macroplant/pdf.js,mozilla/pdf.js,Shoobx/pdf.js,mozilla/pdf.js,nawawi/pdf.js,nawawi/pdf.js