Prototype fun.
Moved HTML to Jade, changed code to match.
Starting moving data to server instead of client placeholders. Currently half-works for primary access right types.