FineReader uses a com-dll that can be used within a script. With CreateObject you can instanciate it in every script language like java script. An alternative would be to use an online recognition like t3n over http or soap.
Yes, there is VHDL, AJAX, to name two commercially available software packages as well as an interactive white-board program that utilizes a Wiimote to recognize Chinese character recognition by developer Johnny Chung.
Yes there is a javascript OCR software out there. What you are looking for, however, is not necessarily the best thing to use javascript for. But you can do it using the getImageData API.