FileReader, HTML5: Make sure that result is truthy, before trying to manipulate it in any way.