fix advanced compilation
introduce IndexedDBJSONKeyValueStore.