auiUtils: implemented isLastValueInArray and makeString