JS for overlaying OCR on image using HOCR formatted HTML