By using something like Lawn Chair, Lawn Chair's really smart in that it goes, OK great, you're telling me that your preferred provider is IndexedDB, but if you don't have that, I should use Web SQL. 