Adding Object.defineProperty polyfill from 'https://github.com/inexorabletash/polyfill'