Javascript Data Access Object (DAO) Framework with IndexedDB