Add a menu item to toggle JavaScript.