Close a `script` element in an example.