var array = [267, 306, 108];
var largest = Math.max.apply(Math, array); // 306