Comments and whitespace
Made collision detection a separate function for Game object
Also made a change in how to compare the objects in terms of x (if the x of the ball is past the x start of the paddle but not the x end, bounce the ball)
Using parseInt correctly :)
More comments
Also deleting variables not really necessary
Cleaning up variable declarations
Sending periodic updates now about ball, players' positions and players' scores