A simple pong game in JS