dependency cleanup
refactor to node-webkit