fix(tabs): Replaced array.indexOf for IE8 compatible

Fixed the indexOf error in IE8 for both the tab and the accordion