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