Set XHR requests to UTF-8 encoding by default

Pretty much a standard for all other JavaScript frameworks
Merge pull request #589 from mourjan/patch-3

Set XHR requests to UTF-8 encoding by default