Added proper styling and javascript to dropdowns