Simple examples using HTML5 FileReader API
In case you have doubt why I'm not using semicolon is because I got inspiration from these talks: