Making pong in Javascript.