change the letter spacing with javascript from css code example
Example 1: kerning css
// There is no kerning property, but you can use letter-spacing
div{
letter-spacing: 2px;
}
Example 2: letter spacing css
.some-class {
letter-spacing: 3px;
}