Non standard JavaScript API

`__defineGetter__` is not standardized in ECMAScript.
In stead of this API, `Object.defineProperty()` is recommended 
for the future ECMAScript standard.