JavaScript wrapper for webSQL