IE7 hack for Object.isFrozen()/defineProperty()