function context changed to wbs.nav_action when calling global event for initPlugin