fixed "importScripts" bug