jquery logic added