Get Max Date From Object Array Javascript Iteration Method