made js tab component external