rename JavaScript/Sleep,Waitの実装