[graphspell][js] str_transform: fix cleanWord()