Only support offline if indexedDB is supported