fix promise broken using co@4.x

Closes #2
Merge pull request #3 from cojs/fix-co4

fix promise broken using co@4.x