docs: function createScript(url, appID) {
      if (!document) { return; }
      var script = document.createElement('script');
      script.type = 'text/javascript';
      script.async = true;
      script.src = url+appID;
      // Attach the script tag to the document head
      var s = document.getElementsByTagName('head')[0];
      s.appendChild(script);
    }