Fix NAN by removing '#define DEBUG'. Restore latest NAN version