update sql.js change indexedDB with SqlLite