Added User-Agent to XHR.