fix imagesLoaded for data uri
Merge pull request #6 from bsuh/master

fix imagesLoaded for data uris