Structures HTML and adds jQuery to populate divs in sequence