initial checkin / port to node-webkit