I don't see an event in node webkit to close the game (exit window). This has to be somewhere right....
Use browser > close
Develop games in your browser. Powerful, performant & highly capable.
It worked, thanks!