refactor to node-webkit; success