Help with Jinja templating for a custom script report

The below link clarified the problem, and pointed to general ledger report, which is a good example of the scenario.

Eventually, I used hidden fields on the js to store required data, and displayed them as below.

{% if (filters.employee_name) { %} {%= __("Employee's Name: ")%} {%= filters.employee_name %} {% } %}

{% if (filters.employee_tax_id) { %} {%= __("Employee's PIN: ")%} {%= filters.employee_tax_id %} {% } %}