handle subscripts in entire text
cosmetic renames in js
slightly more elegant way to create cross ref links
removed unnecessary anchor click overrides
fixed some pycharm warnings in js
cosmetic renames in js
renamed word to entry everywhere (almost)
moved router def closer to url defs