refactor to prototype to allow many instances of FlotTooltip object