I did see that the formatting was effected when they were one method.  I will adjust the .js to not do the replace the < and > and try again to get it to just be the one method.