Adapt, or die
You bascially built them up from nothing then they fire you. Thats weak I would be pissed.
"What? The new guy messed with the code? You're having to eat the cost of selling hundreds of products at $.01? You want me to find his mistake and fix the code? About that money you owe me..."
You get the picture.
just deindex there site and encode html codes so they can't edit it. don't delete anything you will be sue doing that.