BLOCKER: Investigation type and ebi per preprocessed

This adds the possibility of setting investigation types and then submitting those to ebi.
Does this `<script>` clause need to be here? I think it should go at the top inside the head section of the template.