Removed use of Object.defineProperty

Removed use of Object.defineProperty in order tu support IE8