got the delete button working for jquery