The author of Fractint, Wes Loewer, created his own arbitrary precision math library [1]. I am aware of how such pieces of software work. I am also aware that to create such a thing from scratch - will take much effort. Especially testing it for correctness. Why reinvent the wheel?
That's why I asked the question in the first place. Best case scenario - someone has already implemented such functionality in JavaScript (with complex numbers). But I think that this is not the case. So I guess this leads to the case of porting from some other language.