Javascript Get Max Value In Object Array C