fixed broken block structure in client.js