db.js plugin update to support map-reduce