move to nan for different version of node api