basically functional Web SQL version