title: How is it done?
body: <p>How does stackoverflow know when the javascript doesn't work, and is able to notify the user on the top of the page?</p>
  
  <p>Is it possible to tell if script doesn't load or produces errors and then still be able to use javascript to generate error message?</p>