Found this gem from 2011. Credits: http://www.devcurry.com/2011/10/javascript-max-min-array.html
Array.prototype.max = function () {
return Math.max.apply(Math, this);
};
Array.prototype.min = function () {
return Math.min.apply(Math, this);
};