Ported to NAN 1.2.0
update to latest master