GuessMyNumber in JS, Node.js, and Node-webkit