結果 : javascript wait async function to finish