code: function(input) {
  		var evt;
  
  		if (typeof Event === 'function') {
  			evt = new Event('input', {
  				bubbles: true
  			});
  		} else {
  			evt = dcmnt.createEvent('Event');
  			evt.initEvent('input', true, false);
  		}
  
  		input.dispatchEvent(evt);
  	}
docs: Create and dispatch the input event; divided for IE9 usage