code: function fullscreenchange () {
  		var newEvent = document.createEvent('CustomEvent');
  		newEvent.initCustomEvent('fullscreenchange', true, false, null);
  		// TODO: Any need for variable copy?
  		document.dispatchEvent(newEvent);
  	}
docs: Document event: fullscreenchange