pbf renderer

Test: mocha test/pbf.renderer.js