ajax for deleting all thumbnails