Why is my jQuery text.replace() function skipping some characters in strings

join shbcf.ru