[3.8] Fix #1586 : jQuery UI error in thesaurus tab selection