code: function(name) {
  		var i, lookup;
  
  		// Replace diacritics
  		lookup = [
  			/[\300-\306]/g, 'A', /[\340-\346]/g, 'a',
  			/\307/g, 'C', /\347/g, 'c',
  			/[\310-\313]/g, 'E', /[\350-\353]/g, 'e',
  			/[\314-\317]/g, 'I', /[\354-\357]/g, 'i',
  			/\321/g, 'N', /\361/g, 'n',
  			/[\322-\330]/g, 'O', /[\362-\370]/g, 'o',
  			/[\331-\334]/g, 'U', /[\371-\374]/g, 'u'
  		];
  
  		for (i = 0; i < lookup.length; i += 2) {
  			name = name.replace(lookup[i], lookup[i + 1]);
  		}
  
  		// Replace whitespace
  		name = name.replace(/\s+/g, '_');
  
  		// Remove anything else
  		name = name.replace(/[^a-z0-9_\-\.]+/gi, '');
  
  		return name;
  	}
docs: Cleans the specified name from national characters (diacritics). The result will be a name with only a-z, 0-9 and _.
  
  @method cleanName
  @static
  @param {String} s String to clean up.
  @return {String} Cleaned string.