Use readAsArrayBuffer() instead of deprecated readAsBinaryString().
readAsBinaryString is now deprecated as per the 12 July 2012 Working Draft from the W3C
https://developer.mozilla.org/en-US/docs/Web/API/FileReader.readAsBinaryString
Use $window instead of window
Properly annotate function
Merge pull request #10 from agibson-fl/master

Use readAsArrayBuffer() instead of deprecated readAsBinaryString().