Use built-in Array.prototype.every if supported