Slightly reformatted measurements_form.

Also fixed a minor bug with the javascript for displaying or hiding the
profile checkbox.