node-webkit chapter
Deferreds and promises