setAttributesMap = (el, attrs) => {
  attrs.forEach((value, key) => {
    el.setAttribute(key, value);
  });
  return el;
}
@param {Element} el
@param {Map<string, string>} attrs Array of key-value pairs
@return {Element}