JS Strip múltiples espacios
string = string.replace(/\s\s+/g, ' ');
Modern Mouse
string = string.replace(/\s\s+/g, ' ');