package.json compatibility with node 0.8.x