Add whitespace
Extract client logic to client.js
Extract client side game loop logic to client.js