add functions for connecting to IndexedDB and storing Backbone objects in it