title: ReferenceError: Joomla is not defined
body: <p>I am developing  a joomla component. It is executing but giving</p>
  
  <p><code>ReferenceError: Joomla is not defined</code></p>
  
  <p>I check that default java scripts like <code>motool.js core.js</code> are not loading. </p>
  
  <p>How can I load them automatically and not manually like <code>&lt;script src=""&gt;&lt;/script&gt;</code>?.</p>