Tweak the polyfill to load conditionally. I adapted the build logic from Polymer/platform