Add xhr stuff

In case we need it