JavaScript Function Executed Twice

I’m having an issue with the functions being executed twice on the pages. I checked the header for the sources but none of them are called twice. Has anyone have the same experience and what’s the possible fix here?