Making it work with node >= 0.8.0 and upping version