Added javascript for dropdown menu support