Added node 0.6 compatibility
node 0.6 compatibility.