got the dropdown menu working with the javascript