Adding support for node 0.9 and 0.8