Relaxation of Hamilton-Jacobi Equations