add tests for glossary button not working
fixed the bug

textarea should be handled with val(), not text()