Deleted all old code and start again with node-webkit.