Add js to collapse and expand dropdowns.