code: function isEq(str1, str2) {
          str1 = str1 || '';
          str2 = str2 || '';
  
          str1 = '' + (str1.nodeName || str1);
          str2 = '' + (str2.nodeName || str2);
  
          return str1.toLowerCase() == str2.toLowerCase();
        }
docs: Compares two string/nodes regardless of their case.
  
  @private
  @param {String/Node} str1 Node or string to compare.
  @param {String/Node} str2 Node or string to compare.
  @return {boolean} True/false if they match.