I have put two different javascripts on my page.
One is to be loaded on desktop other on mobile.
I want to know that are both the javascripts loaded both on desktop and mobile, but only one is visible due to widget rules, I have set. If so, then is it possible to load only that javascript which according to widget rules should be loaded on a specific platform. This will reduce page load.