The Script template allows you to define templates for the element or artboard.
Web Export adds the script needed to make the element work as closely as possible to what is seen in Adobe XD for the page and the elements.
For the Artboard the Script Template refers to the page scripts. It supports the use of a
scriptstag as shown below:
The Artboard Script Template does not support Element tokens.