Fix goal editing after 72ccdff; #725

The javascript to edit this field depended on the markup in a way that
broke during 72ccdff.