update for nan-1.0.0 - node-0.11.13