added support for ajax headers
Merge pull request #8 from olliecwl/master

added support for ajax headers