Ajax nodes tweaks

By default render the UI assuming every node has children, and let the call to Nodes#tree tweak the UI for those nodes that turn out to be leafs of the tree.