made it so events work in ie8