removed global twig-variables
switched js safe-setting to html