Derivating $h(u,v)=0$ respect to $x$ and $y$ we have:
\begin{equation}
\frac{\partial{h}}{\partial{u}}\frac{\partial{u}}{\partial{x}} + \frac{\partial{h}}{\partial{v}}\frac{\partial{v}}{\partial{x}}=0
\end{equation}
and
\begin{equation}
\frac{\partial{h}}{\partial{u}}\frac{\partial{u}}{\partial{y}} + \frac{\partial{h}}{\partial{v}}\frac{\partial{v}}{\partial{y}}=0
\end{equation}
If we denote $A$ to the system above, then its straightforward to see that
\begin{equation}
det(A)= \frac{\partial{(u,v)}}{\partial{(x,y)}}
\end{equation}
So , it would be sufficient to prove that $det(A)=0$ $\forall (x,y) \in R$. This will guarantee that the Jacobian is exactly $0$ too. Note that:
- If A has only the trivial solution, then (in $R$):
$$\frac{\partial{h}}{\partial{u}}=\frac{\partial{h}}{\partial{v}} = 0$$
This is not possible because, according to the hypothesis, $h$ is a non constant function. So at least one of these derivatives is not $0$.
$\therefore$ $A$ has a non trivial solution
$\therefore$ $det(A)=0$
\begin{equation}
\therefore
J=\frac{\partial{(u,v)}}{\partial{(x,y)}}=0
\end{equation}
$\forall (x,y) \in R$