[prototype->jQuery] Remove usage of prototype tab js logic

This refactoring helps to remove remaining prototype code and aims to make our code better maintainable by the way.