Eichler-Shimura Relation for $J_0(N)$