Fixed running with node 0.6.8