Per issue #16 fixed the inline HTML in the popups. The requirement for static HTML (or else it gets the bubble size wrong) meant some hack, e.g. onclick=openDirectionsPopupLink()