Using html5 FileReader: fetch images locally