Adds support for dynamically loading the polyfill by setting up 0 times if the document is already loaded at the time the polyfill script is processed.
This is done by checking document.readyState == 'complete'.