Geometric Hamilton-Jacobi Theory