XHR loaded event handlers