Makes frontend render predicate form after subject submit.

(Fun closure stuff in there, yay Javascript)