A JavaScript bricks breaking game