Heya Pakost! What you need to do, even though it's aimed at being a stand alone client game, is include the Browser object.
The Browser object has functions (or actions) such as 'request fullscreen' and 'close', using these will close or enable fullscreen even in games exported in Node-Webkit