set header after xhr.open, asset not file, build