major bug! fixed relative xhr failing, closes #39