get rid of horrible hack, use non-spec polyfill instead :(