Javascript Jquery Can T Use Replacewith Function Cannot Read

Javascript Jquery Can T Use Replacewith Function Cannot Read