It should be:
```jinja
profilerA.setAttribute('{{ path('_profiler_home') }}' + request.token);
```