Delete function now deletes object from JS, although it comes right back from the DB.