Study of J /ψ production in Jets