Fix error from tabs.js