結果 : how to run async method synchronously javascript