Hitting the 5MB limit with custom word lists is entirely plausible, especially if default/preset lists become editable in the future.
IndexedDB (with, for example, Dexie) is more appropriate.
This change should be contained to CustomLists.js, which abstracts away the custom list operations. However, methods will probably become async.