Currently, we use localStorage for all storage. This probably won't scale well if someone gets too much data.
PouchDB has a wrapper on top of indexedDB/webSQL. Additionally, it's designed for sync, just as the current state system is, so it's a natural fit.