added back node.js v0.6 support