initial js commit with basic support for tooltips and popover