Array.prototype.every= Array.prototype.every || function (func, thisObj) { for (var i=0; i!= this.length; ++i) if (i in this && func.call(thisObj, this[i], i, this)) return false; return true; };