aFarkas/html5shiv — comment on commit cee53872509ee9aafad04ddaca8117ac72ba3b23
File: src/html5shiv-printless.js line 40
By jonathantneal:

In older IEs, referencing an input or script element's document causes an unexplainable error. I experienced this when loading an unfiltered shim before jQuery or YUI (who randomly would create said elements).