Fixed IE8 bugs with e.source and e.origin