Update js with menu button