add concurrent_and_wait.js