More JSHint fixes

Hi there,

I did some more JSHint fixes, this time regarding looping objects.