I have a form which I am posting using the JS below. When I start a debug session in Visual Studio, the first form submission does not trigger the done callback and I am redirec