Mode code cleanup in nodes/examples.js
Get rid of Q.step() usage