Extract constants
Extract more constants
Remove unnecessary client-side Bricks class
Add and clarify console.log statements