removed unnecessary code from javascript-pong