Extracting Accept Contributor Agreement behavior

This JS behavior is ported from CurateND. Its purpose is to disable
the form submit button unless the user agrees to the terms.