[ScriptFacade] Fix empty scriptURI issue