I have a problem when trying to load messaging chat. The scenario is i have applied the lazyload module for genesys bus, after my site loaded, this will load the cxbus.min.js. And the problem is when page didn't fully load or init Genesys, user can may click on message bubble chat (please refer to the image below), then log will throw the error Uncaught ReferenceError: Genesys is not defined.
How can i make sure that everything of cxbus min fully loaded then i can enable my bubble chat to prevent the error thrown?