function onQueryChange() {

		matchAllQueries();

		//dispatch change event with state as detail payload
		//old style custom event for ie9 support
		var evt = document.createEvent("CustomEvent");
		evt.initCustomEvent('change.jsmediamatch', false, false, _queryState);
		window.dispatchEvent(evt);
	}
/**
	 * handle media query listener change event
	 */
handle media query listener change event
handle media query listener change event
function onQueryChange() {
		matchAllQueries();
		var evt = document.createEvent("CustomEvent");
		evt.initCustomEvent('change.jsmediamatch', false, false, _queryState);
		window.dispatchEvent(evt);
	}
function onQueryChange ( ) { matchAllQueries ( ) ; var evt = document . createEvent ( "CustomEvent" ) ; evt . initCustomEvent ( 'change.jsmediamatch' , false , false , _queryState ) ; window . dispatchEvent ( evt ) ; }
handle media query listener change event
handle media query listener change event
//dispatch change event with state as detail payload //old style custom event for ie9 support