[tagcloud] remove console.log, comments and split only on commas

some fixes on top of the PR before