Changing main.js Tabs function to e.currentTarget