Lost Purchase Order Template

Lost Purchase Order Template

I tried to edit the purchase order template and when I went to save it with a new name I got this error message:

[object HTMLScriptElement]

and after I clicked OK it saved it.  However the original template is gone and the one with the new name is now completely blank.  How can I get the original template back?