added _when
v0.1.3 completed migration to use when.js