Updates to work with node-XMLHttpRequest
Merge pull request #3 from Parcela/making-isomorphic

Updates to work with node-XMLHttpRequest