Javascript Get Max Value In Object Array Php