Javascript Find Max Date In Array Of Pointers To Structures