IE8/9 Compatibility Fix;

In IE8 check with instanceof HTMLElement/HTMLFormElement do not work (of course it may be better to implement them in different way instead of removing them).

Also in IE8/9 XDomainRequest should be used instead of XMLHttpRequest for cross domain requests.