Rm define getter

The code was using `__defineGetter` which is not supported in IE10 and is also deprecated

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/__defineGetter__