Storage API using indexedDB, webSQL or localStorage