title: Contao 2.11 how add: global javascript and global block
body: <p>I need create chat module for contao 2.11. Website have standard and custom modules. I need add global javascript file (load on each front end url) and html block, with I can add to each page.
  Best if I'll do it in my own module, without interfering in other modules or core.</p>
  
  <p>I was looking for in other modules but I not found. I'm not found too any global java script tutorial.</p>
  
  <p>Other question: Can you recommend some book about Contao for developers. Because probably I'll probably have to often work with contao.</p>
  
  <p>Thanks in advance for any answers.</p>
  
  <p>I need this information as soon as possible, that after google research I sent this post. I'm sure that somewhere in internet exist answer. But 4 hours tutorial and modules study nod solved my issue.</p>
  
  <p>Regards </p>