Removed min max functions off Array's prototype