Javascript Find Max Date In Array Jquery