removed jquery centric even handling