Thank you! Not sure if I can do that unless browsers go back to the old designs and make ipc possible among tabs/processes again, the compute happens on the browser so it entirely depends on the end user hardware config. And while making this I gave that approach a try as well but decided against it, since the (compute requirements of analysis) entirely depends on the size of input. On larger strings it takes considerably longer and has rendered the browser completely unresponsive on low end devices.
Also, this is far from complete and the pre trained model is fairly inaccurate. I am mainly looking for collaborators to train this better.