I just thought of a way to confirm that my answer is correct. Here's how:

If you differentiate with respect to 'u' you get the first integrand and if you differentiate with respect to 'v' you get the second integrand in F(x,y)...

So must been the potential function to begin with.

Anybody wanna tap me on the shoulder?