Replacing __defineGetter__ and __defineSetter__ with Object.defineProperty get and set

Replacing Node.prototype.p