delete items with AJAX, problem with reattaching eventlisteners and objects