Dynamically generate div structure of survey pages

Instead of copying HTML, produce the page skeleton with JS
By the way, if you don't expect to add any more query parameters, you can just pass the url as ```survey.html?page_name``` and use ```window.location.search.substring(1)``` as the page name without having to parse the query.