Wait for ajax post after changing language
Merge pull request #3428 from edx/zoldak/fix-lang-test

Wait for ajax post after changing language