Some tabs.js improvements

-Made selectors and comments a little more succinct before passing off
to Joe for review.