code: function configureGlobals() {
  	// Set up the global DirectlyRTM function, required for the RTM widget.
  	// This snippet is pasted from Directly's setup code.
  	window.DirectlyRTM =
  		window.DirectlyRTM ||
  		function() {
  			( window.DirectlyRTM.cq = window.DirectlyRTM.cq || [] ).push( arguments );
  		};
  	// Since we can only configure once per pageload, this library only provides a
  	// single global configuration.
  	window.DirectlyRTM( 'config', getDefaultOptions() );
  }
docs: Set up global variables and configuration for the RTM widget
  
  @see https://cloudup.com/cySVQ9R_O6S for the standard setup instructions