removed jquery logic