How to get memory access to my own JavaScript classes?

Hello,

I am making a framework of sorts, and I use certain Aras Methods as JavaScript classes for delegation of responsibility and clean code. I wanted to use the methods from this class such like:

aras.evalMethod('my_class', this, constructor_args);

let initializedClassInstance = new mu_tp_block_component_api(); // this is what I am attempting and cannot find the right syntax / or correct way to go about this

let dataIWant = initializedClassInstance [methodName](); // This in theory works, but variable iniitaliedClassInstance is null

Best Regards,

Frank

Happy new year