Support Node.js 0.6

closes #718