# Loading modified javascript library in head.html

**URL:** <https://forum.8thwall.com/t/loading-modified-javascript-library-in-head-html/2333>\
**Category:** Technical Support\
**Created:** [August 6, 2024, 1:50pm UTC](https://forum.8thwall.com/t/loading-modified-javascript-library-in-head-html/2333 "2024-08-06T13:50:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adrian\_Stiegler](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/adrian_stiegler/32/2228_2.png) [@Adrian\_Stiegler](https://forum.8thwall.com/u/Adrian_Stiegler)\
**Post date:** [August 6, 2024, 1:50pm UTC](https://forum.8thwall.com/t/loading-modified-javascript-library-in-head-html/2333/1 "2024-08-06T13:50:03Z")

</div>

Hey folks, Been trying to load a-frame particle systems using the latest a-frame version I’m using (1.4.1) and I’m having some errors bark. In particular, A-frame 1.1.4 particle-system is calling THREE.Math.generateUUID() but it’s THREE.MathUtils now, so I need to modify the code and change those references. My issue is how can I load this library in my head.html locally? I tried to host it on my private server and refer to it, but I think it’s being blocked since it’s probably being filtered on compilation.

Any advice on this would be very appreciated!

Cheers  
Adrian

---

<div class="post-metadata">

**Author:** ![Evan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/evan/32/431_2.png) [@Evan](https://forum.8thwall.com/u/Evan)\
**Post date:** [August 6, 2024, 5:46pm UTC](https://forum.8thwall.com/t/loading-modified-javascript-library-in-head-html/2333/2 "2024-08-06T17:46:59Z")

</div>

You could try using the c-frame fork of the library, which is actively maintained by the community:

> **[GitHub - c-frame/aframe-particle-system-component: Particle systems for A-Frame.](https://github.com/c-frame/aframe-particle-system-component)**
>
> Particle systems for A-Frame.

```auto
<script src="https://cdn.jsdelivr.net/gh/c-frame/aframe-particle-system-component@latest/dist/aframe-particle-system-component.min.js"></script>

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/x8thwall/original/2X/9/9212a857458f1b03a6accb129e0f8cbea408e3e5.png) [@system](https://forum.8thwall.com/u/system)\
**Post date:** [August 13, 2024, 6:16pm UTC](https://forum.8thwall.com/t/loading-modified-javascript-library-in-head-html/2333/3 "2024-08-13T18:16:19Z")

</div>

Closed on August 13, 2024, 6:16pm UTC

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.
