JS tool for converting images to plain HTML