[docs] Update confusingly broken example to work

Fix naming (non-existent example function `callbackTakingFunction` & API method `require("when/node/function").nodeStyleAsyncFunction`), and make example runnable via copy paste.