Set up function to save doc to couch.
Set up function to create edit/delete links for each item.
Moved delete function into displaycouchdata function.
Added preventDefault for each function.