Use jQuery's prop() rather than attr() to disable form elements.
Check for CREATE permission on target NS (issue #4).

Also cleaned up some variable names and locations, a bit of documentation, and simplified some slightly circuitous conditionals.

Release: 2013-05-17.