Fix #47

Handling cookies purely in JS since collapsing categories won't work
without JS anyways.