make nw run as node

for rogerwang/node-webkit#213