added XMLHttpRequest
Merge pull request #3 from Parcela/adding-xhr

added XMLHttpRequest