String.prototype.replaceAll = function(oldValue, newValue) { return this.split(oldValue).join(newValue); }