Javascript String replaceAll(target, replacement)
String.prototype.replaceAll = function (target, replacement) { return this.split(target).join(replacement); };