Fixed Object.invert().

Apparently there is an undocumented Object.each() in the array moduld that
doesn't trigger in the browser run tests.