結果 : wait for javascript function to finish