Javascript Get Maximum Value In Array Of Objects