I tried to find an answer to this but haven't yet. Going through Jackson's Electrodynamics, the following steps are used to determine the vector potential as the curl of $\mathbf{B}$. The context is magnetostatics, where $\nabla \cdot \mathbf{J} = 0$.
The basic law (5.4) for the magnetic induction can be written down in general form for a current density $\mathbf{J}(\mathbf{x})$: $$ \mathbf{B}(\mathbf{x}) = \frac{1}{c} \int \mathbf{J}(\mathbf{x'}) \times \frac{(\mathbf{x} - \mathbf{x'})}{|\mathbf{x}-\mathbf{x'}|^3} d^3 x' $$ ... In order to obtain the differential equations equivalent to (5.14) we transform (5.14) into the form: $$ \mathbf{B}(\mathbf{x}) = \frac{1}{c} \nabla \times \int \frac{\mathbf{J}(\mathbf{x'})}{|\mathbf{x}-\mathbf{x'}|} d^3 x' $$
This is all that is said about it, taken from the 1st edition. Note the units aren't SI, hence the $c$.
The issue I have with this is the following. The curl of $\mathbf{J}$ divided by $|\mathbf{x}-\mathbf{x'}|$ can be expanded as: $$ \nabla \times \left ( \frac{\mathbf{J}}{|\mathbf{x}-\mathbf{x'}|} \right ) = \frac{1}{|\mathbf{x}-\mathbf{x'}|}\nabla \times \mathbf{J} + \nabla \left ( \frac{1}{|\mathbf{x}-\mathbf{x'}|} \right ) \times \mathbf{J} $$ Which is the well-known identity, $$ \nabla \times (f\mathbf{A}) = f(\nabla \times \mathbf{A}) + (\nabla f) \times \mathbf{A}$$ Now we can use the fact that $$ \nabla \left ( \frac{1}{|\mathbf{x}-\mathbf{x'}|} \right ) = \frac{\mathbf{x}-\mathbf{x'}}{|\mathbf{x}-\mathbf{x'}|^3}$$
[EDIT: This is a mistake. There should be a negative sign, which explains the wrong sign later on.]
Along with the anti-commutativity of the cross product to get: $$ \nabla \times \left ( \frac{\mathbf{J}}{|\mathbf{x}-\mathbf{x'}|} \right ) = \frac{\nabla \times \mathbf{J}}{|\mathbf{x}-\mathbf{x'}|} - \mathbf{J} \times \nabla \left ( \frac{\mathbf{x}-\mathbf{x'}}{|\mathbf{x}-\mathbf{x'}|^3} \right ) $$ Or, rearranging, $$ \mathbf{J} \times \left ( \frac{\mathbf{x}-\mathbf{x'}}{|\mathbf{x}-\mathbf{x'}|^3} \right ) = \frac{\nabla \times \mathbf{J}}{|\mathbf{x}-\mathbf{x'}|} - \nabla \times \left ( \frac{\mathbf{J}}{|\mathbf{x}-\mathbf{x'}|} \right ) $$
Now we can substitute this in for the quantity in the integral in the first equation, for $\mathbf{B}$, $$ \mathbf{B}(\mathbf{x}) = \frac{1}{c} \int \frac{\nabla \times \mathbf{J}}{|\mathbf{x}-\mathbf{x'}|}d^3x' - \frac{1}{c} \int\nabla \times \left ( \frac{\mathbf{J}}{|\mathbf{x}-\mathbf{x'}|} \right )d^3x' $$ Which is to say, $$ \mathbf{B}(\mathbf{x}) = \frac{1}{c} \int \frac{\nabla \times \mathbf{J}}{|\mathbf{x}-\mathbf{x'}|}d^3x' - \frac{1}{c} \nabla \times \int \frac{\mathbf{J}}{|\mathbf{x}-\mathbf{x'}|} d^3x' $$ Now, if the first integral is zero, we get the equality Jackson jumps to so quickly, but without the negative sign. But where did the negative sign go? And could that first integral be zero without $\nabla \times \mathbf{J} = 0$? (Which cannot be true unless $\mathbf{J} = 0$ because in we assumed $\nabla \cdot \mathbf{J} = 0$).
I would be more inclined to think that I made a mistake somewhere, but there doesn't seem to be much going on with the derivation, it's relatively straightforward. What am I missing?