fist try at supporting IE8 with custom event