function CustomEvent ( event, params ) {
		params = params || { bubbles: false, cancelable: false, detail: undefined };
		const evt = document.createEvent( 'CustomEvent' );
		evt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail );
		return evt;
	}
Polyfill

Mimics the missing methods like Object.assign, CustomEvent, etc., as a way to avoid including the whole list
of polyfills provided by Babel.