Modification of Konrad Dzwinel JS-OCR-demo