Zend certified PHP/Magento developer

x-magento-init sometimes not running

I have a shop developed in Magento 2.2.
Now, I did a upgrade to Magento 2.4. I had to upgrade all the external modules in use. Everthing worked ok. But now, sometimes the $.widget called in my x-magento-init are not running, sometimes it runs. I don’t have any error on log files or in the browser console.
An example is the Mageplaza quickview module, that sometimes show the quickview button and sometimes not.

Seams like that some code is breaking the call for other scrips but without sending any error, is this possible?
Did anyone had same issue?
Can anyone help me?

Thank you and Best Regards