Javascript String contains(s)
String.prototype.contains = function(s) { return (this.indexOf(s)!=-1); }
String.prototype.contains = function(s) { return this.indexOf(s) >= 0; };