change order of attributes for consistency with JS div insertions
set up for loop to create objects for each new question