Added support for "importScripts" in shim