add class for javascript tab behaviour