Javascript String contains(txt)
String.prototype.contains = function(txt) { return (this.indexOf(txt) >= 0); }