code: function childrenByClass(element, name) {
    var filtered = [];
  
    for (var i = 0; i < element.children.length; i++) {
      var child = element.children[i];
      var classNames = child.className.split(' ');
      if (classNames.indexOf(name) !== -1) {
        filtered.push(child);
      }
    }
  
    return filtered;
  }
docs: /*
  Get a list of direct child elements by class name.