Use global System for script type="import"
Merge pull request #259 from nevir/scriptmodulefix

Use global System for script type="import"