addCommas and toTitleCase helpers