src/worker/handlers/initial.js
function setIfPresent(docEl, nodeName){
	var node = getBaseElement(docEl, nodeName);

	if(node) {
		document[nodeName] = node;
	}
}
function setIfPresent(docEl, nodeName){
	var node = getBaseElement(docEl, nodeName);

	if(node) {
		document[nodeName] = node;
	}
}
function setIfPresent ( docEl , nodeName ) { var node = getBaseElement ( docEl , nodeName ) ; if ( node ) { document [ nodeName ] = node ; } }
Set the document.body and document.head properties.
Set the document . body and document . head properties .