fix Javascript SDK tests for .NET runtime

We don't check for err.request.responseText & err.message anywhere else, I'd just remove this if block as redundant.