Javascript Object Array Get Max Value From Hashmap In Python