This will only run when viewed through the public link - due to the way <script> tags are handled. The script itself is actually another note I made, here's the public link
<script>