code: function resetState(node) {
      _.each(node._tree.defaultState, (val, prop) => {
          node.state(prop, val);
      });
  
      return node;
  }
docs: Reset a node's state to the tree default.
  
  @private
  @param {TreeNode} node Node object.
  @returns {TreeNode} Node object.