How do I run the following script from my articles page?

How do I run the following script from my articles page?