updated version of tooltip to support namespaced  data-attributes