Added in JS to generate select dropdown from H2 title and position in document