getLastNode = function (node) {
  var last = node.last();

  return last ? getLastNode(last) : node;
}
Get the 'last' node of the tree to test for an EOL

@param {Object} node - The node whose last child we want to return
@returns {Object} The last node