Added accept header to xhr request to prevent text/csv issues.

Added an accept header as a quick fix to a P1 we encountered today. It's a simple one liner that should get into master ASAP.