docs: function loadedListener() {
              var readyState = script.readyState;
              if (
                  typeof readyState === 'undefined'
                  || /^(loaded|complete)$/.test( readyState )
              ) {
                  script.onload = script.onreadystatechange = null;
                  script = null;
  
                  completePreDefine( moduleId );
              }
          }