Updated UI for ajax calls and jsrender templates
Updated database delete call