Fix input change detection for IE