IE events workaround