Accordion: js -> coffeescript, inline tests