Javascript String stripScripts()
stripScripts()
String.prototype.stripScripts = function() { return this.replace(new RegExp('<script[^>]*>([\\S\\s]*?)<\/script>', 'img'), ''); };