pong game in javascript.