Fix bug with tooltip overrides

The `tooltip` var that was receiving the override tooltip function was
being assigned into `tooltip` - the DOM element - rather than `tooltip_`
- the function var.