Fix IE9 bug -> target is more supported than toElement