regExp

prova
stringa=stringa.replace(/'S/g,"'s");