Tabs written in pure javascript and CSS