allows jpgjs to deal with datauri images

without running into CORS restrictions