deleteListItems JS function commented