Added node-webkit support and some fixes
Added node-webkit support and some fixes