Crappy ninja game, learning node.js