HTML and JS to randomly position divs, and restructure them with the window size