This is probably okay, but just be aware of http://bonsaiden.github.io/JavaScript-Garden/#object.forinloop :)