Split the string on all the .'s and then join it again with empty spaces, like this:
.
checkedNew = checked.split('.').join("");
2.1m questions
2.1m answers
60 comments
56.9k users