654Find Largest Number in Javascript
Nice way and fast way of finding the largest number in an array.
var arr = [1233, 32, 442];
var largest = Math.max.apply(Math, arr);
http://ejohn.org/blog/fast-javascript-maxmin/
http://stackoverflow.com/questions/1379553/how-might-i-find-the-largest-number-contained-in-a-javascript-array