Fix CORS issues w/document loaders.

- Ensure specific Accept header is sent by jquery doc loader.
- Do not include custom header w/xhr doc loader.