fixed ajax bug
Merge pull request #7 from EdmundMai/master

fixed ajax bug