only invoke the js callback when the notification is tabbed