getElementClasses(el) {
    let classes;
    try {
      classes = Array.from(el.classList);
    } catch (e) {
    }
    return classes;
  }
Check for CSS Classes and return as array if found or undefined if not
@param {HTMLElement} el Target element
@returns {Array|undefined} Array of class names