{% set selected = selected|default('js') %} {% set item_selected = items[selected] %}