Changed __defineGetter__ -> defineProperty in index.js

```__defineGetter__``` is [non-standard](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineGetter "MDN") and is not on a standards track.