First order description of D=4 static black holes and the Hamilton-Jacobi equation