Instead of selecting the correct child element and clearing it before prepending the summary we can define a container div. It removes this line and is more consistent.