Remove all instances of Object.defineProperty/defineProperties for IE8 support