JQuery UI fix

handled edit/delete functions to get the id of their parent tr element.