Why is the replace() method showing as undefined in my jQuery code example

join shbcf.ru