docs: function removeClass(element, className) {
      if (!hasClassNameProperty(element)) {
          return;
      }
      element.className = element.className
          .replace(className, '')
          .replace(/^\s+|\s+$/g, '')
          .replace(/\s\s/g, ' ');
  }