provide _currentScript on document and SD polyfill document. Fixes #45.