Continuing discussion about the use of ERB templates here, in the temporary pr. summary:

* @jvazquez-r7 said

```
Since the mixin favors the use of ERB templates to dettach views (html / js) from ruby code, just proposing also use ERB here.

Also maybe a view helper (or several helpers) to generate the code of the JS detection would be useful. In this way others can use autodectection easily if needed.

```

@wchen-r7 said:

```
send_exploit_html() supports ERB. If you're using send_response() then you're just sending HTML.
```


Even when send_response expects just HTML, maybe something like :+1: 

```ruby
html = ERB.new(template).result
```

can be done to get html from a template also here.