That’s not the script, that’s just a very basic CSS conflict. Just rename the CSS Classes to something unique and identifiable. For example change the following references in the CSS, HTML and JS:
- Change
collapsible
toterms-collapsable
- Change
content
toterms-content
When developers write example code, they almost always use generic labels. You should always change these when using them in your own project.