The Script Console may appear when you preview your publication
The Script Console is used to show error messages and to help you debug your script.
The Script Console