code: function( text ){
  			if(text && text.length){
  				var i = text.length,
  					x = 0;
  
  				// turn all whitespace chars at end into spaces
  				while (i--) {
  					if(this.isOnlyWhiteSpace(text[i])){
  						text = this.replaceCharAt( text, i, ' ' );
  					}else{
  						break;
  					}
  				}
  
  				// turn all whitespace chars at start into spaces
  				i = text.length;
  				while (x < i) {
  					if(this.isOnlyWhiteSpace(text[x])){
  						text = this.replaceCharAt( text, i, ' ' );
  					}else{
  						break;
  					}
  					x++;
  				}
  			}
  			return this.trim(text);
  		}
docs: removes whitespace, tabs and returns from start and end of text
  
  @param  {String} text
  @return {String}