use jQuery indexeddb instead of direct.more intuitive syntax