extract out chinese_flashcard_indexeddb.js