Js Array Max And Min