Tidy HTML and add support for focus

Moved events out of the HTML, added ARIA for the tooltips and they now appear when jargon items are in focus.