Add check exist for ajax
Merge pull request #554 from liuchuangww/user

Add check exist for ajax