Pong using canvas and node.js