wait for ajax calls to complete

This may fix the broken skip-tutorial test

Change-Id: I3c2f2f18f5789ab7b52acce311423408bed8b8be
Merge "wait for ajax calls to complete"