added ajax for chats
Merge pull request #29 from muratdbc/ajax_for_what

added ajax for chats