Updated documentation of Glossary page Javascript.