add deleteacction and editaction and js