Factor out example_treedata.
jshint.