Convert javascript examples to nodejs.
Fix regression.