jshint tweaks
make getStat & getStatCb prototype methods

wanted to keep it close to pure functional style, but that was
just silly, and the self-argument passing looked funny.