allows jpgjs to deal with datauri images
Merge pull request #29 from Pomax/patch-1

allows jpgjs to deal with datauri images