couchdb <-> browserify glue hack
use new validator in libremap-common