Made the nodgine compatible with nodejs 0.8