publish and subscribe for leveldb put/delete/batch events, works in the browser