fix ajax
Merge pull request #32 from JamieMcKenzie/ajax3

fix ajax