{% set extensionJs = minified ? '.min.js' : '.js' %} 

{# Tray scripts #} 
{{ tray.scripts }} 

<script>
    window.theme = {
        themePath: '{{ themePath }}',
    };
</script>

<script src="{{ asset('js/libs.min.js')    }}"></script>
<script src="{{ asset('js/main' ~ extensionJs) }}"></script>

{{ html.script({ 
    '0' : tray.paths.js ~ 'dist/application.min.js?' ~ utils.assets_version 
}) }}
