Add js to make button dropdowns work