add $forIn method to Object.prototype