add node 0.8 compatability