Fix closing <script> tag in examples