Update tabs.js

I guess merge didn't happen well since I've fixed this recently ;(