Change for-in loop to Collections.forEach to satify JSLint (looks like a...

... bug in JSLint though)