Add comment about what the function is doing
Remove tabs.js which no longer exists
Store element in a variable
Remove whitespace, extra commas
Remove unused function
Fix indentation