code: function childrenByName(node, name) {
    var children = [];
    var childNodes = node.childNodes;
  
    for (var childKey in childNodes) {
      var child = childNodes[childKey];
  
      if (child.nodeName === name) {
        children.push(child);
      }
    }
    return children;
  }
docs: Returns all the elements of the given node which nodeName match the given name.
  @param  {any} node - The node to use to find the matches.
  @param  {any} name - The name to look for.
  @return {Array}