basic JS to see about getting the display disabled when mandatory is checked
- simple toggle of display field

We should be always showing items that are mandatory and this just
enables a bit of UI switching to make that happen.
- getting all checkboxes and killing mandatory

Here is a stab at disabling the display checkboxes if mandatory is
already checked.
- fixing whitespace and adding docs

My editor on the other machine was doing screwy stuff with whitespace
and this is a fix.

Also thought a bit of explanation about what the code is doing is
warranted.