simulation of input events broken in IE