Refactor vg_load_xhr function to have a mime_type on the xhr request, this helps to specify Accept header on the request