javascript: object.defineproperty