Added polyfill for Object.create