It would be the biggest irony ever if the web settles on sql.js [1] plus persistance based on IndexedDB.
Then to comfortably store data, we would have SQLite running in WebAssembly persisting the data via the awkward IndexedDB API which uses the comfortable SQLite API to store the data in native SQLite.