Adding js for menu interactions