added AJAX for dropdown menu