Attempted to do javascripting for the menu