running runWordFrequencyGenerator will force the recalculation of the word cloud
using scaled font finally found the reason it wasnt scalling was beacuse it assued .value instead of .count

and clearing the element's html before rendering (showing only one version of the cloud at a time, like other normal word cloud generators...)