generate boxes/rows using js, chnage to 4 boxes per row