Update tabs.js

Tightened scope of objects from which to remove the nav-tab-active class to avoid conflicts with other plugins or instances of this class outside the plugin.