Add js to make button dropdowns work and remove data attribute