Modify the source code without using <Include> and JS replace function

Hi there,

I came across the following great project and was thinking about how to modify the source code without using and JS’s replace function, just like most other projects only using HTML to import vertex and fragment shader. Please kindly advise. Thanks.

Project link: https://codepen.io/prisoner849/pen/NWjoYLQ