thoughts about converting tree.py to javascript
then remember reading that should just use the DOM to store items...
makes sense