stop parsing binary PBM if we have enough
make test.js comply with jslint's style guide