Magento 2 JavaScript structure