Switched to localforage for storing things locally