Add default Accept header for XHR

By default we're expecting JSON, so it should be "application/json, text/*"