Clean up tabs.js