Change __defineGetter__ into defineProperty