Congrats! Why would one create such a project with JS given all of the languages available to them?
Also privacy: running OCR in someone's browser rather than sending the images back to the server keeps them fully in control of the data they are working with.
Theretically, cross platform support would be another possibility. But one could argue native C code could be bundled as well, albeit with separate integration being needed. (Android and iOS do support such extensions).