Sample code for node webkit.