allows jpgjs to deal with datauri images

without running into CORS restrictions
no need for bind(this)