Empty post list before appending li element