Js Find Max From Array Of Objects