Dynamically generate div structure of survey pages

Instead of copying HTML, produce the page skeleton with JS
No newline at end of file