Use Promise.then() instead of Promise.done() (closes #59)

Use Promise.then() instead of Promise.done() in the example as Promise.done()
no longer exists.
Merge pull request #61 from cdumez/promise_then

Use Promise.then() instead of Promise.done() (closes #59)