結果 : make asynchronous call synchronous javascript