Removed some IE6 specific code - saves 25 gz bytes

Some IE6 specific code was adding complexity to the `ajax.js` file. By refactoring it, for the `master` branch, we can improve readability and save 25 gz bytes.

```
Running "compare_size:files" (compare_size) task
   raw     gz Sizes
246147  72939 dist/jquery.js
 84233  29457 dist/jquery.min.js

   raw     gz Compared to master @ d837f119c3729565103005d5d7fa89e1dd8110cb
  -348   -113 dist/jquery.js
   -66    -25 dist/jquery.min.js
```
All right, so it appears this problem exist in IE6-8, not only in IE6, initial commit was made without providing the test, so in order to confirm this problem does not exist in newer versions of IE that we support, i would not merge this without accompanied PR to `1.x-master` with the test for #8138 ticket that would fail for IE6-8 without this code but not for IE9+.

Than, we could cherry pick that test  to `master` branch and remove this bulk