Add /api/decode.
Expand/collapse elements.

Old school jquery style.