code: function getNextSiblings(el) {
    var siblings = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
    var nextSibling = el.nextSibling;
  
    if (!nextSibling) {
      return siblings;
    }
  
    siblings.push(nextSibling);
    return getNextSiblings(nextSibling, siblings);
  }
docs: recursive function to get next sibling nodes of given element