Hi there,
Sorry for the insane delay!
I’m not sure what you mean exactly, but if you are using an animated SVG, you may need to separate the JS from inside the SVG file to it’s own file. I’m just taking a guess.
If you can share more details, I’ll try my best to help you figure it out if you still need a hand.