I'm trying to implement what I believed to be an easy function to delete a record from an indexeddb database. All I want to achieve is to delete a record (object) from the DB. Here is the code I'm...