Attempt at implementing http://cwmma.tumblr.com/post/41782044503/lets-make-an-app-pouchdb