code: function trimPermittedDomains(permittedDomains) {
    var trimmedPermittedDomains = [];
  
    _.each(permittedDomains, function(permittedDomain) {
      trimmedPermittedDomains.push(permittedDomain.trim());
    });
  
    return trimmedPermittedDomains;
  }
docs: Trim any pesky whitespace //