max: function(values){
    var max = Number.MIN_VALUE,
        i;

    if (values instanceof Array) {