updating setCookie example to make it clear that the callback is required

`setCookie` requires a callback as the last parameter.

discussed in #743