Replicating fix in #201 without the build files.
Merge pull request #211 from misoproject/201.ajax.headers

custom ajax headers - Replicating fix in #201 without the build files.