fix dart2js problem with reading FileReader.result