Chain comment delet JS function