add contextmenu_show JS event