update ajax() signature to match _ajax()
Merge pull request #257 from heartsentwined/ajax-signature

update ajax() signature to match _ajax()