code: function(className) {
          var re = reClassNameCache[className];
          if (!re) {
              // Preserve any leading whitespace in the match, to be used when removing a class
              re = new RegExp('(^|\\s+)' + className + '(?:\\s+|$)');
              reClassNameCache[className] = re;
          }
          return re;
      }
docs: RS: now that I've moved these out, they'll compress better, however, do these variables need to be instance based - if it's regarding the DOM, I'm guessing it's better they're global within the scope of xui -- private methods -- //