Do not perform the same query twice.
Removed unneeded dependency. Fixes #228.
Removed non-sensical output formats when exporting codebooks. Fixes #225.
Use new jQuery syntax to retrieve values from input fields. Fixes #224.
Only show releveant codebooks. Fixes #227.