Update cloud servers sample code for node.js (server.setWait)

- Fixes #482