HTML5 localStorage as a database.