Javascript Array elementIncluded(element)
Array.prototype.elementIncluded = function(element) { return this.indexOf(element) > -1; };