include pouchdb from an element