Javascript jQuery Method replaceAll()