結果 : how to make javascript function synchronous