function addClassNames(element, classNames) {
    classNames.forEach(function (className) {
      element.classList.add(className)
    })
  }
Adds class names to the given element
@function
@ignore
@param {HTMLElement} target
@param {Array} classes