h5 storage api using indexedDB and localStorage and so on