pouchdb/pouchdb — pull request #2481 by calvinmetcalf (2014-07-17 18:42:20+00:00)
Title: (#2477) - use a Map and Set instead of an object 

in various places where it would be a speed up/ prevents errors