test for panel menu JS API fixed