Change example to use `script` instead of `textarea`

As per @bobthecow 's suggestion. I'll shut up after this!