Update tabs.js

avoid launch select callback on destroy event