Got rid of async ajax calls, need to block until those complete.