minor fix
use indexedDB instead of webSQL