cleaned version mess
node 0.6 compatibility.