Fixes #642, trigger proper error paths if importScripts fails.