Javascript wrapper for tesseract OCR