Dynamically generate div structure of survey pages

Instead of copying HTML, produce the page skeleton with JS
Can use splitArr.

``` var jsUrl = splitArr[1];```