fix for ie8 events