Actually made indexeddb work
More setup and so forth