Make ajax call be synchronous
Merge pull request #2474 from dimagi/sms-chat-perf

Make ajax call be synchronous