(#182) - use pouchdb-extend
(#1730) - experimental version that avoids eval