Make internal XHR async (refs #8)