Fix for Javascript error, bad nesting

Guessing this was a bad merge or just missed. Was throwing a Javascript error because the `<script>` tags were mismatched.