Create ui-glossary.js

unfinished.