sync CouchDB views from/to local CommonJS modules