Eliminate cruft.
Add click event to template.
Add count to trees
Refactor Kids function