i have the same issue , I have tried like below
require(['https://booking.test.com/bundles/WidgetV2Loader.js']);
in requirejs file I have the below code
function scripts() {
return document.getElementsByTagName('script');
}
if we remove this from requirejs file my eternal script is working fine, But some other exsisting functionalites are not working?