__defineGetter__ is replaced with Object.defineProperty in request.js