make an exe out of node .js script

I wrote a basic web server that receives headers returns the required HTML file .....

It works fine on when I run it in command prompt ... but how do I convert it into an executable file which I'll be able to share with my friends ...

or how if I can embed that script in some GUI application (in this case how do I make sure that my code stays safe )

require('http').createServer(function(req, res)
{ res.writeHead(200, {'Content-Type': 'text/html'});
res.end('<html><head><title>Hello World!</title></head><body><h1>it works</h1></body> </html>');
}).listen(4000);
console.log("server started at port 4000");