Adding try catch block around importScripts of app-internal