added support for cancel bubble or stop propagation IE and FF