Actually create the jurisdiction selection in the form

Fixes #981 

Kind of, it's still a javascript hack but at least it hacks at the right place now.