Does the preview show up for you after you close the script errors?
Try clicking on the preview to open up the preview page in the browser. Do you get the same script errors there?
Was this a template that you created or was it created using one of the WebAssist products?