Use object properties instead of typed array as storage in polyfill