@sns ,
Where did you put the code in? content editor web part or others?
Normally, we can find the relevant js file at the top of the code, as shown below(the src of the JS file is where you can find it):
<script src="/Style Library/Mavention/Mavention.GlobalNavigation.js"></script>
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.