MIGX does not work because of the script

Hi. Guys, help me remove pieces of code from the script to get rid of errors and launch the gallery


name file daxon-plugins.min.js
Ссылка на сайт

download file

I don’t understand the script. I would appreciate your help