escape code in plugin template

I'm not sure why you've used the ``safe`` filter here @yakky - if you include the html-script tags e.g. like this:

```html
<script type="text/javascript">
console.log('test');
</script>
```

the plugin will not be properly escaped and even executed by the client's browser