Covariant hamiltonian formalism for field theory: Hamilton-Jacobi equation on the space G