# Using external JS libraries via webTemplate folder

**URL:** <https://forum.knime.com/t/using-external-js-libraries-via-webtemplate-folder/23855>\
**Category:** KNIME Server\
**Tags:** javascript-view\
**Created:** [May 18, 2020, 10:25am UTC](https://forum.knime.com/t/using-external-js-libraries-via-webtemplate-folder/23855 "2020-05-18T10:25:10Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![toscanomatheus](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/t/7feea3/32.png) [@toscanomatheus](https://forum.knime.com/u/toscanomatheus)\
**Post date:** [May 18, 2020, 1:20pm UTC](https://forum.knime.com/t/using-external-js-libraries-via-webtemplate-folder/23855/5 "2020-05-18T13:20:04Z")

</div>

Hi Alexander,  
It seems that including the content of the library in the knime\_template.js did not work. Just so you know, I got an error after the login (when the main page was being loaded), which for me indicates that it has to do with the loading of the file (and not my workflow).

`require.js:5 Uncaught Error: Mismatched anonymous define() module: function(){return ...`

For reference, I am trying to use the [Mermaid JS library](https://cdnjs.cloudflare.com/ajax/libs/mermaid/8.5.0/mermaid.min.js)

Is this something we can check via the support?

---

_[View the full topic](https://forum.knime.com/t/using-external-js-libraries-via-webtemplate-folder/23855)._
