Apply filter and navigate to tab using Javascript

As far as your Tab navigation mechanism, you’re using the supported underlying jQuery UI API for activating (“navigating to”) a Tab, so this is fine. And your use of the Conditions API is totally kosher.