wrap each polyfill with condition