Throw error if any request in importScripts() fail.