code: function getElements(node, attr) {
    return Array.prototype.slice.call(node.querySelectorAll("[" + attr + "]"));
  }
docs: getElements
  Return an array of elements, or an empty array;
  @param  {Element} node - an element to scope the query to
  @param  {String} attr
  @return {Array}