AEM screens Jquery
I'm trying to create a component for screens with anime.js v3.0.1 library animation.
But I'm getting error.

it runs ok with jQuery v3.3.1 outside aem.
But I'm having trouble integrating it to AEM. seems to me like it's jquery conflict
How can I resolve this?
I've tried
Adobe Experience Manager Help | Integrating the JQuery Framework into Adobe Experience Manager
How to resolve jQuery library conflicts in AEM 6? (seems outdated to me/ foundation directory missing in my instance)
didn't help.
js.txt

my production library

Thanks

