added "var reader = this;"

"var" is necessary here for JS minification to work properly, otherwise an error will be thrown ("reader undefined").
Merge pull request #3 from nickmerwin/patch-1

minification readiness