Converting my instruments to WAM

Hi. I am working on in-browser DAW called Cyber Music Studio (see Severák's Cyber Music Studio). I have already developed some usable instruments in it and now I want to convert them to WAM.

The problem is that I am not a fan of modern javascript tooling so I wrote those in vanilla javascript without any tooling at all. I think it will be possible to create some wrapper for translating calls from WAM to my onw interfaces (which is described here - cyber-music-studio/ at main · severak/cyber-music-studio · GitHub), but I am not sure how to begin.

(I have posted this same question also to WAM Slack.)