simplify applying polyfill