Implement tabs with custom js