extract bricks to bricks.js, change start game logic