I'm the main author of sql.js (the wasm compilation and javascript API for sqlite that the author uses). It's nice to see a cool use case like that. Just wanted to mention that the link to the github project is wrong, it should be :
https://github.com/sql-js/sql.js
we also have a website with a cool URL
(Unfortunately the old repo URL is still the first result for "sql.js" on google)