Missing newlines
Use "i" instead of "j" in Y.batch
Add example to Promise constructor docs

Also comment on why duck typing is used to determine if an object is a
promise