code: function setupTwitterGlobal() {
  	if ( window.twq ) {
  		return;
  	}
  
  	const twq = ( window.twq = function() {
  		twq.exe ? twq.exe.apply( twq, arguments ) : twq.queue.push( arguments );
  	} );
  	twq.version = '1.1';
  	twq.queue = [];
  }
docs: This sets up the global `twq` function that Twitter expects.
  More info here: https://github.com/Automattic/wp-calypso/pull/10235