Your error happened because
```javascript
'canvas'
```
 used in the example does not exist on your webpage.

As stated in the inline comment, you will have to use your own canvas by replacing the above name in your own code.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence