Takes an image and converts it to scalable text in javascript.