Wow, I just figured it out. It's because I'm replacing a string with a html comment "
I simply replaced this line:
$(this).html($(this).html().replace("Starter Kit Savings Chart", "<!--Starter Kit Savings Chart"));
with:
$(this).html($(this).html().replace("Starter Kit Savings Chart", "\<\!\-\-Starter Kit Savings Chart"));
Works perfectly!
I would still appreciate comments if I helped you out or if you can improve my script. As I mentioned earlier, it's my first crack at jquery so always happy to improve.