PouchDB + Relational Pouch + requirejs