custom js is created for tabbed view