Ah, I forgot that casiopea doesn't load jQuery. I have created template override for the module and load jQuery from it using:
use Joomla\CMS\Factory; $wa = Factory::getApplication()->getDocument()->getWebAssetManager(); $wa->useScript('jquery');
Seems working good now. Please check