Implemented js karateka delete functions with confirm message