title: How to include javascript and css files in Hybris?
body: <p>I am trying to use a 3rd party javascript control, <a href="https://owlcarousel2.github.io/OwlCarousel2/" rel="nofollow noreferrer">Owl Carousel</a>.  The way I am reading the documentations is this: </p>
  
  <p>In the zip file from Owl Carousel there is a folder called owlcarousel that contains the javascript and another folder that contains all the supporting files which need to be copied to /modules/base-accelerator/yacceleratorstorefront/web/webroot/_ui/responsive/common.  Then I simply need to go into the javaScript.tag file and add this line towards the end of the file:</p>
  
  <pre><code>&lt;script src="${commonResourcePathHtml}/owlcarousel/owl.carousel.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Upon trying that, I get all sorts of loading errors and no images are display, even without using the control.  So my question is:</p>
  
  <ol>
  <li>What is the correct approach to include a 3rd party javascript?</li>
  <li>Is there any way to control which pages actually get a javascript file or do simply ALL the pages get ALL the javascript includes?</li>
  </ol>