converted game to use node-webkit