Added javascript handler for glossary lookup