fixing jquery selector for dropdown menus