Revert "Deferredをprototypeをつかうように修正"

This reverts commit 60a7310a07f5933d3047ef6018cbb9a7742e6bda.
Revert "Revert "Deferredをprototypeをつかうように修正""

This reverts commit 803228b8285c802ad5d57ebddb4425e7c151fb0d.