docs: function onReadystatechange(e) {
  
  	if (!(e instanceof Event)) {
  		throw new TypeError('Invalid event was given');
  	}
  
  	if (document.readyState == 'interactive') {
  		makeReady.call(this);
  	}
  
  	if (document.readyState == 'complete') {
  		makeLoaded.call(this);
  	}
  }