Javascript String eraseSpaces()
eraseSpaces()
String.prototype.eraseSpaces = function () { return this.replace(/ /g, ""); };