Do you have any other code that loads JS files? (Plugins, Custom code, etc)
Sometimes this happens on any site or theme that uses multiple js files or links to multiple js files which could cause conflicts.
Can you tell me where you got the code from so I can see how it’s set up exactly?